package cn.com.KnowNews.entity;


import java.sql.Date;

public class News {
    private int id;
    private String title;
    private String author;
    private String datetime;
    private String adder;
    private String picadr;
    private String main;
    private String category;

    public String getPicadr() {
        return picadr;
    }

    public void setPicadr(String picadr) {
        this.picadr = picadr;
    }

    public int getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getAuthor() {
        return author;
    }

    public String getAdder() {
        return adder;
    }

    public String getMain() {
        return main;
    }

    public String getCategory() {
        return category;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setAdder(String adder) {
        this.adder = adder;
    }

    public void setMain(String main) {
        this.main = main;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
